using Microsoft.VisualBasic;



public partial class Application
{

    public static Collection StartUpFileNames = new Collection();

    public Application()
    {
        this.Startup += new System.Windows.StartupEventHandler(Application_Startup);
    }
    public void Application_Startup(object sender, System.Windows.StartupEventArgs e)
    {
        if (e.Args.Length > 0)
        {
            foreach (string s in e.Args)
            {
                StartUpFileNames.Add(s, null, null, null);
            }
        }
    }

}

